KERN_DIR = /home/modon/imx6ull/100ask_imx6ull-sdk/Linux-4.9.88

all:
	make -C $(KERN_DIR) M=`pwd` modules
	$(CROSS_COMPILE)gcc -o ledtest ledtest.c

clean:
	make -C $(KERN_DIR) M=$`pwd` modules clean
	rm -rf modules.order
	rm -f ledtest

obj-m += ledtest.o

